package com.ncloud.crm.service;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.ncloud.crm.entity.order.Order;
import com.ncloud.crm.entity.order.OrderCustomer;

/**
 * Created by shiqiang on 2017/4/11.
 */
public interface OrderCustomerService extends BaseService{

	public List<OrderCustomer> getByOrderId(Long orderId);
	OrderCustomer getByCompanyCode(String companyCode);
	Long getCustId(String companyCode);
	List<OrderCustomer> getCustByEmail(String email);
	public OrderCustomer getNewCustomerByOrder(Order order);
	public JSONObject getCustInfoByCustId(Long custId);
}
